﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OOT.Core
{
	public class Phone
	{
		private long id;
		private string number;
		private PhoneType type;
		private Person owner;

		public virtual long Id
		{
			get { return id; }
			set { id = value; }
		}

		public virtual string Number
		{
			get { return number; }
			set { number = value; }
		}

		public virtual PhoneType Type
		{
			get { return type; }
			set { type = value; }
		}

		public virtual Person Owner
		{
			get { return owner; }
			set { owner = value; }
		}

		public Phone()
		{
		}
	}

	public enum PhoneType
	{
		Home = 1,
		Work = 2,
		Mobile = 3,
		Fax = 4
	}
}
